package cn.itcast.oy.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
@Data
public class IpTablesDto implements Serializable {
    @JsonProperty("code")
    private Integer code;
    @JsonProperty("data")
    private IpTablesDetail data;
    @Data
    public class IpTablesDetail {
        @JsonProperty("proxy_list")
        private List<IpTablesList> proxyList;
    }
    @Data
    public class IpTablesList {
        @JsonProperty("ip")
        private String  ip;
        @JsonProperty("port")
        private Integer  port;
    }
}
